import { request } from "@/http/service"

export function getActorData(data: any) {
  return request({
    url: "/actor/list",
    method: "post",
    data
  })
}

export function addActorData(data: any) {
  return request({
    url: "/actor/add",
    method: "post",
    data
  })
}
export function editActorData(data: any) {
  return request({
    url: "/actor/edit",
    method: "post",
    data
  })
}
export function removeActorData(id: string) {
  return request({
    url: `/actor/delete/${id}`,
    method: "delete"
  })
}

export function batchRemoveActorData(data: any) {
  return request({
    url: "/actor/batchDelete",
    method: "post",
    data
  })
}
